
<div class="tab-pane " id="is_lz_chest">
    <!--	礼包奖品设置-->
    <div class="panel panel-default" role="tabpanel">
        <div class="panel-heading">礼包奖品设置 </div>
        <div class="panel-body">
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">礼包提示语</label>
                <div class="col-sm-8 col-xs-12">
                    <input type="text" class="form-control"  placeholder="" name="lz_package_title"  value="{if empty($config['lz_package_title'])}获得3680元大礼包，额外还获得以下惊喜{else}{$config['lz_package_title']}{/if}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">礼包名称</label>
                <div class="col-sm-8 col-xs-12">
                    <input type="text" class="form-control"  placeholder="" name="lz_package_name"  value="{if empty($config['lz_package_name'])}3680元礼包{else}{$config['lz_package_name']}{/if}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">好友参加活动收集手机号</label>
                <div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
                    <label class="radio-inline">
                        <input name="lz_get_phone" value="0" {if $config['lz_get_phone']==0} checked="checked"{/if} type="radio"> 关闭
                    </label>
                    <label class="radio-inline">
                        <input name="lz_get_phone" value="1" {if $config['lz_get_phone']==1} checked="checked"{/if} type="radio"> 开启
                    </label>
                </div>
            </div>
            {php $lingzearr = [0,1,2,3,4];}
            {loop $lingzearr $row}
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">固定礼品{php echo $row+1;}：</label>
                <div class="col-sm-8 col-xs-12">
                    <div class="col-sm-4 col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon">礼品名称</span>
                            <input type="text" name="lingzeoptions[]" class="form-control" placeholder="" value="{$config['lingzeoptions'][$row]}" >
                        </div>
                    </div>
                    <div class="col-sm-8 col-xs-12">
                        {php echo view_form_field_image('lingzeimg[]',$config['lingzeimg'][$row]);}
                        <span class="help-block">礼品图：500*500px</span>
                    </div>
                </div>
            </div>
            {/loop}

        </div>
    </div>
<!--    选择礼品-->
    <div class="panel panel-default" role="tabpanel">
        <div class="panel-heading">礼包-选择奖品设置 </div>
        <div class="panel-body">
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">大礼包选择奖品礼品</label>
                <div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
                    <label class="radio-inline">
                        <input name="lz_big_gift" value="0" {if $config['lz_big_gift']==0} checked="checked"{/if} type="radio"> 关闭
                    </label>
                    <label class="radio-inline">
                        <input name="lz_big_gift" value="1" {if $config['lz_big_gift']==1} checked="checked"{/if} type="radio"> 开启
                    </label>
                </div>
            </div>

            {if $config['lz_big_gift']}
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">选择礼品</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control"  placeholder="" name="shops"  value="{if empty($config['shops'])}礼品{else}{$config['shops']}{/if}">
                </div>
            </div>
            {php $optionsarr = [0,1,2,3,4];}
            {loop $optionsarr $row}
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">礼品{php echo $row+1;}：</label>
                <div class="col-sm-10 col-xs-12">
                    <div class="col-sm-4 col-xs-12" >
                        <div class="input-group">
                            <span class="input-group-addon">礼品名称</span>
                            <input type="text" name="addressoptions[]" class="form-control" placeholder="" value="{$config['addressoptions'][$row]}" >
                        </div>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        {php echo view_form_field_image('optionsimg[]',$config['optionsimg'][$row]);}
                        <span class="help-block">礼品图：500*500px</span>
                    </div>
                </div>
            </div>
            {/loop}
            {/if}

        </div>
    </div>
</div>
